import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
	mode: 'history',
	base: '/web3/',
	routes: [
		{
		  path: '/',
		  redirect: '/index'
		},

		{
			path: '/index',
			name: 'index',
			component: () => import('@/components/index')
		},
		{
			path: '/index/index_taocan',
			name: 'index_taocan',
			component: () => import('@/components/index_taocan')
		},
		{
			path: '/login',
			name: 'login',
			component: () => import('@/components/login')
		},
		{
			path: '/ka',
			name: 'ka',
			component: () => import('@/components/ka')
		},
		{
			path: '/ka/kaxiangqing',
			name: 'kaxiangqing',
			component: () => import('@/components/kaxiangqing')
		},
		{
			path: '/ka/kajilu',
			name: 'kajilu',
			component: () => import('@/components/kajilu')
		},
		{
			path: '/yonghu',
			name: 'yonghu',
			component: () => import('@/components/yonghu')
		},
		{
			path: '/yonghu/yonghuyue',
			name: 'yonghuyue',
			component: () => import('@/components/yonghuyue')
		},
		{
			path: '/taocan',
			name: 'taocan',
			component: () => import('@/components/taocan')
		},
		{
			path: '/taocan/taocan_fenxiaoshang',
			name: 'taocan_fenxiaoshang',
			component: () => import('@/components/taocan_fenxiaoshang')
		},
		{
			path: '/huodong',
			name: 'huodong',
			component: () => import('@/components/huodong')
		},
		{
			path: '/bangdingliuliang',
			name: 'bangdingliuliang',
			component: () => import('@/components/bangdingliuliang')
		},
		{
			path: '/dailishangbaobiao',
			name: 'dailishangbaobiao',
			component: () => import('@/components/dailishangbaobiao')
		},
		{
			path: '/caiwubaobiao',
			name: 'caiwubaobiao',
			component: () => import('@/components/caiwubaobiao')
		},
		{
			path: '/caiwubaobiao/caiwubaobiao2',
			name: 'caiwubaobiao2',
			component: () => import('@/components/caiwubaobiao2')
		}


	]
})
